//
//  CityModel.swift
//  LeTu
//
//  Created by g1 on 2024/1/15.
//

import Foundation

class CityModel: Mappable {

    var countryProvinceId = 0
    var countryProvinceName = ""
    var englishName = ""
    var countryType = 1
    var id = 0
    var name = ""
    var cities = [CityModel]()
    
    required init?(map: ObjectMapper.Map) {
        
    }
    
    func mapping(map: ObjectMapper.Map) {
        
        countryProvinceId <- map["countryProvinceId"]
        countryProvinceName <- map["countryProvinceName"]
        englishName <- map["englishName"]
        id <- map["id"]
        name <- map["name"]
        cities <- map["cities"]
        countryType <- map["countryType"]
        
    }
    
}
